package com.ywm.service;

import com.ywm.dto.QueryBlog;
import com.ywm.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ywm.entity.PageBlog;
import org.springframework.web.multipart.MultipartFile;


public interface BlogSrevice extends IService<Blog> {
    PageBlog getBlogByPage(int page, int size, QueryBlog queryBlog);
    PageBlog getBlogByPageAndAuthor(int page, int size, QueryBlog queryBlog);
    String uploadFileAvatar(MultipartFile file);
}
